<?php (defined('BASEPATH')) OR exit('No direct script access allowed');

/**
 * @author Anh Nguyen <duyanhnguyen@vccorp.vn>
 * @copyright 2012
 */

class Aboutus extends MX_Controller
{
    private $_langCode;

    function __construct()
    {
        parent::__construct();
        $this->load->library('DefaultLayout');
        $this->load->library('Minifier');
        $this->_langCode = $this->mycommon->getLangCode();
        $this->load->language('common', $this->_langCode);
        $this->load->model('service/service_model');
    }
    
    public function index()
    {
        $data = array();
        $data['common_lang'] = $this->lang->line('default_lang_common');
        $langCode = $this->mycommon->fetchLangCode($this->_langCode);
        $data['postInfo'] = $this->service_model->getPost(1,$langCode);
        $this->defaultlayout->_loadHeader();
        $this->load->view('aboutus/aboutus', $data);
        $this->defaultlayout->_loadFooter();
        
    }
}

?>
